<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<base target="_blank" />
	<title><?php echo F('escape', $unit_name);?></title>
	<link rel="stylesheet" type="text/css" href="<?php echo W_BASE_URL;?>css/content_unit/css/base.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo W_BASE_URL;?>css/content_unit/css/skin.css" />
	<script src="<?php echo W_BASE_URL;?>js/jquery.js"></script>
	<script src="<?php echo W_BASE_URL;?>js/wbshowframe.js"></script>
</head>
<body>
<div id="showCt" class="weibo-follow <?php if ($skin):?>skin<?php echo $skin;?><?php endif;?>" style="height:<?php echo $height;?>px; <?php if ($width):?>width:<?php echo $width;?>px<?php endif;?>">
	<div id="showCtInner" class="<?php if ($show_border):?>weibo<?php else:?>weibo-noborder<?php endif;?>">
		<?php if ($show_title):?>
		<div class="weibo-title">
			<a href="#" class="title" title=""><?php echo F('escape', $unit_name);?></a>
		</div>
		<?php endif;?>
		<div class="weibo-main">
			<a href="#" class="arrow-up arrow-icon" id="upSlider">
				<img id="arrowUp" class="arrow-icon" height="4" width="8" src="css/bgimg/transparent.gif" alt="arrow-up" />
			</a>
			<div class="weibo-list">
				<ul>
					<?php if ($userlist):?>
					<?php foreach ($userlist as $item):?>
					<?php 
						$profile_image_url = isset($item['profile_image_url']) ? $item['profile_image_url'] : $item['uid']; 
					?>
					<li>
					<a class="user-pic" href="<?php echo $item['http_url'];?>" title="" target="_blank">
							<img src="<?php echo F('profile_image_url', $profile_image_url);?>" alt="" />
						</a>
						<a class="name" href="<?php echo $item['http_url'];?>" target="_blank"><?php echo F('escape', $item['nickname']);?></a>
						<a class="follow" href="<?php echo $item['http_url'];?>" target="_blank">关注她</a>
					</li>
					<?php endforeach;?>
					<?php else:?>
					<div>该用户列表没有数据，请到用户管理中添加用户。</div>
					<?php endif;?>
				</ul>
			</div>
			<a href="#" class="arrow-down arrow-icon" id="downSlider">
				<img id="arrowDown" class="arrow-icon" height="4" width="8" src="css/bgimg/transparent.gif" alt="arrow-up" />
			</a>
		</div>
		<?php if ($show_logo):?>
		<div class="xweibo">
			<a href="<?php echo W_BASE_HTTP . W_BASE_URL_PATH;?>" target="_blank">xweibo</a>
		</div>
		<?php endif;?>
	</div>
</div>
</body>
</html>


